package com.org.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.view.RedirectView;

/**
 * @author: vane.Q
 * @date: 2024/1/21 12:18
 */
@RestController
public class IndexController {

    @GetMapping("/")
    public RedirectView index() {
        return new RedirectView("index.html");
    }
}
